﻿using System;
using System.Collections.Generic;
using System.Text;
using DeMeng.Models.Enums.UserInfo;

namespace DeMeng.Models.ViewModels.UserInfo
{
    /// <summary>
    /// 登录返回
    /// </summary>
    public class LoginResultViewModel
    {

        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 接口请求token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 是否设置密码 true 没有设置密码  false 已经设置密码
        /// </summary>
        public bool IsNeedPassword { get; set; }

        /// <summary>
        /// 是否已经设置学校
        /// </summary>
        public bool IsSetSchool { get; set; }


        /// <summary>
        /// 用户身份
        /// </summary>
        public UserIdentityEnum UserIdentity { get; set; }
        /// <summary>
        /// 是否管理员  
        /// </summary>
        public int IsAdmin { get; set; }

    }
}
